<template>
  <div>
    <p>单选框组</p>
    <CyRadioGroup :data="data" v-model="val"></CyRadioGroup>
    <div style="margin-top:20px">结果：<span>{{ val }}</span></div>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const val=ref()
const data = ref([{ value: 1, label: '测试' }, { value: 2, label: '测试2' }])
</script>

<style lang="scss" scoped></style>
